<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta name="layout" content="main">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Login</title>
  </head>
  <body>
    <g:if test="${params.error=="true"}">
      <br>
        <div style="text-align: center;"><span class="errors">Ops Somethig went wrong</span></div>
    </g:if>
    <br>
    <g:form action="LogIn" controller="LogIn" style="text-align: center;" method="post">  
      <div style="text-align: center;display: inline-block">
        <table style="text-align: center; width: 680px">
          <tr><td style="text-align: center;">Username:</td><td style="text-align: center;"><g:textField name="Username" required="" value="${Username}"/></td></tr>
          <tr><td style="text-align: center;">Password:</td><td style="text-align: center;"><g:passwordField  name="Password" required="" value="${Password}"/></td></tr>
          <tr><td colspan="1" style="text-align: center"><g:submitButton name="create" class="save" value="Log In" /><td></tr>
        </table>   
      </div>
    </g:form>
    
  </body>
</html>
